/*
* // +-------------------------------------------------------------------------------------------------
* // |                 有你就好 [ 有节骨乃坚，无心品自端 ]     <http://encoding.wang>
* // +-------------------------------------------------------------------------------------------------
* // |                             独在异乡为异客         每逢佳节倍思亲
* // +-------------------------------------------------------------------------------------------------
* // |                 联系:   <707069100@qq.com>      <http://weibo.com/513778937>
* // +-------------------------------------------------------------------------------------------------
*/

// -----------------------------------------------------------------------------------------------------
// +----------------------------------------------------------------------------------------------------
// |                   ErYang出品 属于小极品          共同学习    共同进步
// +----------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------


package wang.encoding.mroot.common.constant


import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.cache.annotation.EnableCaching
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.PropertySource

import javax.validation.constraints.NotBlank


/**
 * 公共配置文件
 *
 * @author ErYang
 */
@Configuration
@PropertySource(value = ["classpath:share.properties"])
@ConfigurationProperties(prefix = "share")
@EnableCaching
class ShareConst {

    /**
     * form  token 名称
     */
    @NotBlank
    lateinit var formToken: String

    /**
     * 异常 code
     */
    @NotBlank
    lateinit var exceptionCode: String
    /**
     * 异常信息
     */
    @NotBlank
    lateinit var exceptionMessage: String
    
    // -------------------------------------------------------------------------------------------------

}

// -----------------------------------------------------------------------------------------------------

// End ShareConst class

/* End of file ShareConst.kt */
/* Location: ./src/main/kotlin/wang/encoding/mroot/common/constant/ShareConst.kt */

// -----------------------------------------------------------------------------------------------------
// +----------------------------------------------------------------------------------------------------
// |                           ErYang出品 属于小极品  O(∩_∩)O~~   共同学习    共同进步
// +----------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------
